﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="User.aspx.cs" Inherits="stock.GuPiao.User" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="CSS/stock.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="bodyer_main">
        <div class="main_content">
            <div class="left">
                <ul class="uls">
                    <li><a href="user.aspx">用户中心</a></li>
                    <li><a href="stock.aspx">股票中心</a></li>
                    <li><a href="weather.aspx">天气中心</a></li>
                </ul>
            </div>
            <div class="right">
                <asp:HiddenField ID="hfMail" runat="server" />
                <div><span>用户名：</span><asp:Label ID="lbName" runat="server" Text="Label"></asp:Label></div>
                <div><span>原密码：</span><asp:TextBox ID="tbOldPwd" runat="server" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="tbOldPwd" ErrorMessage="*"></asp:RequiredFieldValidator>
                </div>
                <div><span>新密码：</span><asp:TextBox ID="tbNewPwd" runat="server" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="tbNewPwd" ErrorMessage="*"></asp:RequiredFieldValidator>
                </div>
                <div><span>昵 称：</span><asp:TextBox ID="tbNick" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                        ControlToValidate="tbNick" ErrorMessage="*"></asp:RequiredFieldValidator>
                </div>
                <div><span>邮 箱：</span><asp:TextBox ID="tbMail" runat="server"></asp:TextBox>
                    <asp:LinkButton  ID="LinkButton1" runat="server" onclick="LinkButton1_Click" CausesValidation="false">未激活</asp:LinkButton>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="tbMail" ErrorMessage="*"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                        ControlToValidate="tbMail" ErrorMessage="邮箱格式不对" 
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                </div>
                <div><span>电话：</span><asp:TextBox ID="tbPhone" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                        ControlToValidate="tbPhone" ErrorMessage="*"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                        ControlToValidate="tbPhone" ErrorMessage="电话格式不对" 
                        ValidationExpression="^((13[0-9])|(15[0-9])|(18[0,5-9]))[0-9]{8}$"></asp:RegularExpressionValidator>
                </div>
                <div><asp:Button ID="Button1" runat="server" Text="修改" class="button_yellow_93" 
                        onclick="Button1_Click" /> </div>
            </div>
        </div>
    </div>
</asp:Content>
